package com.yuantu.judiciary.model.form;

import com.yuantu.judiciary.model.enums.UserType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 修改用户表单
 *
 * @author syw
 * @since 2023-08-23
 **/
@Data
@ApiModel("修改用户表单")
public class ModifyUserForm {
    @NotNull
    @ApiModelProperty("账号id")
    private Long id;
    @ApiModelProperty("身份：管理员-PRIMARY、普通用户-SUB")
    private UserType type;
}
